#$Id$
# Maintainer: Ionut Biru <ibiru@archlinux.org>

pkgname=cups-pk-helper
pkgver=0.2.6
pkgrel=1
pkgdesc="A helper that makes system-config-printer use PolicyKit"
arch=(i686 x86_64)
url="https://www.freedesktop.org/software/cups-pk-helper/releases/"
license=('GPL')
depends=(polkit libcups)
makedepends=(intltool)
source=(https://www.freedesktop.org/software/$pkgname/releases/$pkgname-$pkgver.tar.xz)
sha256sums=('959af8f2f5a2761e7e498b61c9caf25ae963335031eae9972d999e9a0d97a228')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc \
    --libexecdir=/usr/lib/cups-pk-helper
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

# vim:set ts=2 sw=2 et:
